﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Orchard.ContentManagement;
using System.ComponentModel.DataAnnotations;

namespace TekFlow.FamilyTree.Models
{
    public class FamilyTreePart : ContentPart<FamilyTreeRecord>
    {
        [Required]
        public string FamilyName
        {
            get { return Record.FamilyName; }
            set { Record.FamilyName = value; }
        }

        [Required]
        public string Url
        {
            get { return Record.Url; }
            set { Record.Url = value; }
        }

       
        public int FamilyMemberId
        {
            get { return Record.FamilyMemberId; }
            set { Record.FamilyMemberId = value; }
        }
    }
}